spi: kirkwood_spi.c: Make global variable static
authorStefan Roese <[email protected]>
Tue, 2 Sep 2014 12:02:52 +0000 (14:02 +0200)
committerJagannadha Sutradharudu Teki <[email protected]>
Wed, 24 Sep 2014 12:18:27 +0000 (17:48 +0530)
Signed-off-by: Stefan Roese <[email protected]>
Acked-by: Prafulla Wadaskar <[email protected]>
Tested-by: Luka Perkov <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
drivers/spi/kirkwood_spi.c

index 449e9f86c72bdf5f7bfe444d0c15621fb291bbe8..7d1c1f93a52663c7ae220973d17c44256a04eb29 100644 (file)
@@ -18,7 +18,7 @@
 
 static struct kwspi_registers *spireg = (struct kwspi_registers *)KW_SPI_BASE;
 
-u32 cs_spi_mpp_back[2];
+static u32 cs_spi_mpp_back[2];
 
 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
                                unsigned int max_hz, unsigned int mode)